package com.integral.xr.module.platform.controller.admin.pointsrule.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 积分规则新增/修改 Request VO")
@Data
public class PointsRuleSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED)
    private String id;

    @Schema(description = "积分分类", example = "环境类")
    private String sort;

    @Schema(description = "积分名称", example = "环境治理")
    private String name;

    @Schema(description = "积分详情")
    private String details;

    @Schema(description = "最小积分")
    private Long pointsMin;

    @Schema(description = "最大积分")
    private Long pointsMax;

    @Schema(description = "积分类别", example = "1")
    private String pointsType;

    @Schema(description = "规则状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "规则状态不能为空")
    private String state;

}